*{
    margin: 0;
    padding: 0;
    list-style: none;
}

header{
    background-color: skyblue;
    text-align: center;
    width: 100%;
    position: relative;
    padding:40px 20px;
    color: white;
}

#toggle{
    background-color: white;
    position: absolute;
    left: 20px;
    top: 20px;
    border-radius: 5px;
    cursor: pointer;
}

#login{
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    padding: 15px 30px;
}

button:focus{
    outline: none;
    /* 去除点击时候，边框样式 */
}

nav{
    background-color: pink;
    color:white;
    width: 200px;
    height: 100vh;
    position:fixed;
    left: 0;
    top: 0;
    /* z-index: 100; */
    transform: translate(-100%);
}

body{
    transition: transform 0.5s ease;
}

.show_nav{
    transform: translate(200px);
}

.container{
    width: 800px;
    margin: 0 auto;
    display: flex;
   justify-content: center;
   align-items: flex-start;
   padding: 20px;
}

.container aside{
    padding: 10px 20px;
    width: 250px;
    border-right: 1px solid black;
}

.container button{
    cursor: pointer;
    background-color: white;
    border-radius: 5px;
    display: block;
    width: 100%;
    padding: 10px;
    font-weight: bold;
    font-size: 15px;
    margin:20px ;
}

.container main{
    flex:1;
    /* 自动填充复元素剩余的宽度 */
    padding: 10px 15px;
}

.container h2{
   display: flex;
   justify-content: space-between;
   font-size: 18px;
}

.container .person{
    display: flex;
    justify-content: space-between;
    margin: 10px;
    font-size: 18px;
}